package com.example.demo11.dem3;

import sun.security.krb5.internal.Ticket;

/**
 * @program: demo11
 * @description:
 * @author: 诸葛龙辰
 * @create: 2022-10-31 20:37
 **/
public class Test {
    public static void main(String[] args) {
        Tick ticket = new Tick();
        Thread t1 = new Thread(ticket,"窗口A");
        Thread t2 = new Thread(ticket,"窗口B");
        Thread t3 = new Thread(ticket,"窗口C");
        Thread t4 = new Thread(ticket,"窗口D");

        t1.start();
        t2.start();
        t3.start();
        t4.start();
    }
}
